home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / recent / iib122.lha / IIB / Threads / Sand < prev    next >
Internet Message Format  |  1998-02-13  |  2KB

  1. Date:         Thu, 9 Oct 1997 12:35:21 -0700
  2. From: "Hall, Michael R." <mikeh@RETAILPRO.COM>
  3. Subject:      [IML] Chat:  Sand Texture
  4.  
  5. I've had an idea for the texture programmers out there:
  6.  
  7. How about something that can simulate a sandy surface?
  8.  
  9. I've been wondering how to go about creating this, and I know that I can't
  10. use roughness (I have to render the same image three times and combine them
  11. to get a final image, but roughness never renders the same way twice).  I
  12. suppose I can try rendering using FractBump.itx at a very high resolution
  13. and then scaling the image down, but sand is composed of a silicate and
  14. often there is a rainbow like pattern seen from the refraction of the
  15. crystals, and I am not certain how to get this.
  16.  
  17. Anyone have any ideas?  Even an image map of sand at this point would be
  18. extremely helpful.  I need it to finish the rush "diamond" project I
  19. described last week.
  20.  
  21. Thanks a lot!
  22.  
  23. Micheal Hall
  24.  
  25. ---------------------------------
  26.  
  27. From: Matt Kropp <cmkropp@HOME.NET>
  28.  
  29. How about using a layer or two of the colornoz texture.  I don't know if
  30. fractal bump would actually be necessary.  I guess that would depend on how
  31. coarse the sand is, and how close the camera is to the sand.
  32.  
  33. You shouldn't use roughness in animations.  The documentation says it's
  34. completely random in every rendering, so it will look like snow on TV when
  35. animated.
  36.  
  37. One thing you might want to play with is Simon F.C. de Rivaz's diffuse
  38. texture.  It used to be on his web site, but I can't find it any more.  Maybe
  39. I could put my copy of it on my web site if it's okay with him.  Anyway, the
  40. diffuse texture keys off the roughness setting and converts it into a change
  41. in luminance.  It's useful for modeling very diffuse materials like sand, as
  42. well as other things.  Think about how the full moon looks.  It looks more
  43. like a disk than a sphere.  This is because the dusty surface scatters
  44. reflected light over such a broad angle (very diffuse) that even the sides of
  45. the sphere appear to be just as brightly lit as the front of the sphere.
  46.  
  47. Now the diffuse texture wasn't exactly designed to simulate that, but it can
  48. add a nice luminance to surfaces.  The way you use it is first apply a
  49. grayscale bitmap and have it affect the roughness of the object.  Then load
  50. the diffuse texture after the bitmap.  That's it. For your application I
  51. would suggest a random noise pattern for the bitmap.
  52.  
  53. Matt Kropp
  54. http://members.home.net/cmkropp
  55.  
  56.